package com.open.center.jpa.model.page.by;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 时间过滤
 *
 * @author Riche's
 * @since 2025/5/23
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class DateTimeBy {

    @Schema(name = "key", description = "时间字段")
    private String key;

    @Schema(name = "beginTime", description = "开始时间: yyyy-MM-dd HH:mm:ss")
    private String beginTime;

    @Schema(name = "endTime", description = "结束时间: yyyy-MM-dd HH:mm:ss")
    private String endTime;

}
